﻿
namespace PhoneUI.Com.Modle
{
    public sealed class OADoc
    {
        /// <summary>
        /// 公文ID
        /// </summary>
        public int docid { get; set; }
        /// <summary>
        /// 状态:0-草稿、1-处理中、2-被否决、11-完成、12-作废
        /// </summary>
        public byte docflag { get; set; }
        /// <summary>
        /// 发起人
        /// </summary>
        public string opemp { get; set; }
        /// <summary>
        /// 公文编号
        /// </summary>
        public string doccode { get; set; }
        /// <summary>
        /// 相关单号
        /// </summary>
        public string billcode { get; set; }
        /// <summary>
        /// 相关数值
        /// </summary>
        public decimal relqty { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string doctitle { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string dscrp { get; set; }
        /// <summary>
        /// 类型：0-审批公文、1-单据关联
        /// </summary>
        public byte dtype { get; set; }
        /// <summary>
        /// 发起时间
        /// </summary>
        public string opdt { get; set; }
        /// <summary>
        /// 最后处理人
        /// </summary>
        public string fnsemp { get; set; }
        /// <summary>
        /// 最近处理时间
        /// </summary>
        public string lastTime { get; set; }
        /// <summary>
        /// 流程id
        /// </summary>
        public int flowid { get; set; }
        /// <summary>
        /// 超时时间
        /// </summary>
        public string limitTime { get; set; }
        /// <summary>
        /// 是否催办
        /// </summary>
        public byte urgeflag { get; set; }
        /// <summary>
        /// 公文审批状态[公文状态:待张三审2/5 或 完成5/5] 
        /// </summary>
        public string state { get; set; }
    }
}